<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<title>转介出售</title>
		<link href="__ROOT__/public/xiaoniao/css/public.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" href="__ROOT__/public/xiaoniao/css/chakanxin.css" type="text/css"/>
		<link rel="stylesheet" href="__ROOT__/public/xiaoniao/css/icon.css" type="text/css"/>
	</head>
	<script>
       var getCountDown=function(timestamp) {
                var nowTime = new Date();
                var endTime = new Date(timestamp * 1000);

                var t = endTime.getTime() - nowTime.getTime();
                var d=Math.floor(t/1000/60/60/24);
//                var hour = Math.floor(t / 1000 / 60 / 60 % 24);
//                var min = Math.floor(t / 1000 / 60 % 60);
//                var sec = Math.floor(t / 1000 % 60);
//
//                if (hour < 10) {
//                    hour = "0" + hour;
//                }
//                if (min < 10) {
//                    min = "0" + min;
//                }
//                if (sec < 10) {
//                    sec = "0" + sec;
//                }
                var countDownTime =d>0?"<span>转介信息"+d+"天后自动失效</span>":"<span style='color:#666666;'>已失效</span>";
               document.write(countDownTime);
       }
    </script>
	<body>
		<form action="" method="post">
		<!--头部-->
		<div id="header">
		<ul>
			<li style="color: #000000;">
				<a href="{:U('Wechat/Zhuan/chakan')}" class="first er" >出租<i class="y"></i></a>
				<a href="{:U('Wechat/Zhuan/chushou')}" class="first yi">出售（二手）<i class="t"></i></a>
  				<a href="{:U('Wechat/Zhuan/xinfang')}" class="first xinfang">新房<i class="xf"></i></a>
			</li>
			<li style="color: #000000;">
				<dl  class="two san">住宅<i class="z"><svg class="icon" aria-hidden="true" style="color:#4e8cef;font-size: 15px;position: absolute;right: 0;bottom:0;">
  <use xlink:href="#icon-left-top"></use></svg></i></dl>
				<dl class="two si">写字楼<i class="b"><svg class="icon" aria-hidden="true" style="color:#4e8cef;font-size: 15px;position: absolute;right: 0;bottom:0;">
  <use xlink:href="#icon-left-top"></use></svg></i></dl>
				<dl class="two wu">商铺<i class="s"><svg class="icon" aria-hidden="true" style="color:#4e8cef;font-size: 15px;position: absolute;right: 0;bottom:0;">
  <use xlink:href="#icon-left-top"></use></svg></i></dl>
				<dl class="two liu">车位<i class="c"><svg class="icon" aria-hidden="true" style="color:#4e8cef;font-size: 15px;position: absolute;right: 0;bottom:0;">
  <use xlink:href="#icon-left-top"></use></svg></i></dl>
			</li>
			<!--第一个bar的隐藏提交-->
            </ul>
            </div>

            <div id="nav" style="padding-top: 2.1rem;">
            	<!--住宅-->
            	<section>
            		<div id="main">
			<ul>
				<volist name="zhuzhai" id="v">
				<li>
					<a href="{:U('Wechat/Zhuan/chushouzz',['id'=>$v['id']])}" style="display: block;">
					<div class="main-t">
						
						<div class="main-t-r">
							<div class="main-t-r-t">
								<p>
  <use xlink:href="#icon-naoling"></use></svg> <span><php>echo date("Y-m-d H:i",$v['time']-3600*24*10)</php></span></p>
								<p class="ci"><svg class="icon" aria-hidden="true" style="color:#4e8cef;font-size: 24px;">
  <use xlink:href="#icon-liulan"></use></svg> <span>{$v.read} 次</span></p>
								
							</div>
							<div class="main-t-r-l">
							<dl class="shuyi"><footer>{$v.quyu}</footer>  <footer>{$v.mianji}㎡</footer><footer>{$v.fukuan}</footer>    </dl>
							

							<dl class="shuer"><footer>{$v.huxing}</footer> <footer>房龄：{$v.fangling}</footer>  <footer>楼层：{$v.louceng}</footer>  </dl>
							<dl class="shusan"><footer>{$v.buildname}</footer><footer>{$v.yuezu}万元</footer> <footer>分佣比例:{$v.fenyong}</footer></dl>
							</div>
								<if condition="$v['check'] eq 1">
								
								
							
						</div>
					</div>
						<dt class="day"><script>getCountDown({$v['time']})</script></dt>
					<else />
						
						
					<dt class="te">已失效</dt>
					</if>
					</a>
				</li>
				</volist>
			</ul>
			</div>
            	</section>
           			<!--办公-->
            	 	<section style="display: none;">
            			<div id="main">
			<ul>
				<volist name="xiezilou" id="vo">
				<li>
					<a href="{:U('Wechat/Zhuan/chushouxz',['id'=>$vo['id']])}" style="display: block;">
					<div class="main-t">
						
						<div class="main-t-r">
							<div class="main-t-r-t">
								<p>
  <use xlink:href="#icon-naoling"></use></svg> <span><php>echo date("Y-m-d H:i",$vo['time']-3600*24*10)</php></span></p>
								<p class="ci"><svg class="icon" aria-hidden="true" style="color:#4e8cef;font-size: 24px;">
  <use xlink:href="#icon-liulan"></use></svg> <span>{$vo.read} 次</span></p>
								
							</div>
							<div class="main-t-r-l">
							<dl class="shuyi"><footer>{$vo.quyu}</footer>  <footer>{$vo.mianji}㎡</footer> <footer>{$vo.fukuan}</footer></dl>
							

							<dl class="shuer"><footer>{$vo.huxing}</footer><footer>楼层：{$vo.louceng}</footer>  <footer>房龄：{$vo.fangling}</footer>   </dl>
							<dl class="shusan"><footer>{$vo.buildname}</footer><footer>{$vo.yuezu}万元</footer>  <footer>分佣比例:{$vo.fenyong}</footer>  </dl>
							</div>
								<if condition="$vo['check'] eq 1">


							
					</div>
					</div>
						<dt class="day"><script>getCountDown({$vo['time']})</script></dt>
					<else />
						
						
					<dt class="te">已失效</dt>
					</if>
					</a>
				</li>
				</volist>
			</ul>
			</div>
            	</section>
            		<!--商铺-->
            	<section style="display: none;">
            			<div id="main">
			<ul>
				<volist name="shangpu" id="voi">
				<li>
					<a href="{:U('Wechat/Zhuan/chushousp',['id'=>$voi['id']])}" style="display: block;">
					<div class="main-t">
						
						<div class="main-t-r">
							<div class="main-t-r-t">
								<p>
  <use xlink:href="#icon-naoling"></use></svg> <span><php>echo date("Y-m-d H:i",$voi['time']-3600*24*10)</php></span></p>
								<p class="ci"><svg class="icon" aria-hidden="true" style="color:#4e8cef;font-size: 24px;">
  <use xlink:href="#icon-liulan"></use></svg> <span>{$voi.read} 次</span></p>
								
							</div>
							<div class="main-t-r-l">
							<dl class="shuyi"><footer>{$voi.quyu}</footer>  <footer>{$voi.mianji}㎡</footer>   </dl>
							

							<dl class="shuer"> <footer>{$voi.yuezu}万元</footer> <footer>{$voi.fukuan}</footer>   </dl>
							<dl class="shusan"><footer>{$voi.buildname}</footer> <footer>分佣比例:{$voi.fenyong}</footer></dl>	
							</div>
								<if condition="$voi['check'] eq 1">


							
						</div>
					</div>
						<dt class="day"><script>getCountDown({$voi['time']})</script></dt>
					<else />
						
						
					<dt class="te">已失效</dt>
					</if>
					</a>
				</li>
				</volist>
			</ul>
			</div>
            	</section>
            	<!--车库-->
            	<section style="display: none;">
            			<div id="main">
			<ul>
				<volist name="cheku" id="vi">
				<li>
					<a href="{:U('Wechat/Zhuan/chushouck',['id'=>$vi['id']])}" style="display: block;">
					<div class="main-t">
						
						<div class="main-t-r">
							<div class="main-t-r-t">
								<p>
  <use xlink:href="#icon-naoling"></use></svg> <span><php>echo date("Y-m-d H:i",$vi['time']-3600*24*10)</php></span></p>
								<p class="ci"><svg class="icon" aria-hidden="true" style="color:#4e8cef;font-size: 24px;">
  <use xlink:href="#icon-liulan"></use></svg> <span>{$vi.read} 次</span></p>
								
							</div>
							<div class="main-t-r-l">
							<dl class="shuyi"><footer>{$vi.quyu}</footer>  <footer>{$vi.fukuan}</footer>   </dl>
							

							<dl class="shuer">    </dl>
							<dl class="shusan"><footer>{$vi.buildname}</footer> <footer>分佣比例:{$vi.fenyong}</footer><footer>{$vi.yuezu}万元</footer></dl>
							
							</div>	
								<if condition="$vi['check'] eq 1">


							
						</div>
					</div>
						<dt class="day"><script>getCountDown({$vi['time']})</script></dt>
					<else />
						
						
					<dt class="te">已失效</dt>
					</if>
					</a>
				</li>
				</volist>
			</ul>
				</div>
            	</section>
            	
            	
            </div>
          
	</body>
</html>

<script type="text/javascript" src="__ROOT__/public/xiaoniao/js/com.js" ></script>

<script type="text/javascript" src="__ROOT__/public/xiaoniao/js/jquery-1.8.3.min.js" ></script>
<script type="text/javascript" src="__ROOT__/public/xiaoniao/js/iconfontg.js" ></script>
<script type="text/javascript" src="__ROOT__/public/xiaoniao/js/iconfont.js" ></script>
<script type="text/javascript" src="__ROOT__/public/xiaoniao/js/chakanxin.js" ></script>
<script type="text/javascript" src="__ROOT__/public/xiaoniao/js/chakanxs.js" ></script>
